const proPlugins = [];
// 判断环境
if (process.env.NODE_ENV === 'production') {
   proPlugins.push('transform-remove-console');
}


module.exports = {
    "presets": [
        '@vue/cli-plugin-babel/preset'
    ],
    "plugins": [
        ...proPlugins,
        [
            "component",
            {
                "libraryName": "element-ui",
                "styleLibraryName": "theme-chalk"
            }
        ]
    ]
}
